using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using System.Text;

using Nextel.Utils;

public partial class Reporte_monitoreo_ReporteMonitoreoMapa : PageController
{
    public static float latitud;
    public static float longitud;


    public List<PerfilBean> listaPerfil = new List<PerfilBean>();

    protected override void initialize()
    {
        if (!IsPostBack)
        {
            listaPerfil = DBUsuario.getUsuarioPorPerfil(((UsuarioBean)Session[SessionManager.USER_SESSION]).codigo);
            
            if (ManagerConfiguration.laltitudlongitud != "0")
            {
                String[] latlo = ManagerConfiguration.laltitudlongitud.Split(',');

                latitud = float.Parse(latlo[0]);
                longitud = float.Parse(latlo[1]);
            }
            else
            {
                latitud = float.Parse("- 12.0462037802177");
                longitud = float.Parse("-77.0656585693359");
            }

        }
    }



    protected void chkUltima_CheckedChanged(object sender, EventArgs e)
    {

    }
}